Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a skip_on_hpc pytest marker #36

Merged
merged 4 commits into from
Nov 1, 2024
Merged

Add a skip_on_hpc pytest marker #36

merged 4 commits into from
Nov 1, 2024

Conversation

gmertes
Copy link
Member

@gmertes gmertes commented Nov 1, 2024

Adds the skip_on_hpc pytest marker, and deselects it in the pytest command that is run on the HPC.

Tests can then be skipped by doing:

@pytest.mark.skip_on_hpc
def test_something():
    # will skip on HPC
    pass

@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.40%. Comparing base (ba4279f) to head (d624a6a).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #36   +/-   ##
========================================
  Coverage    89.40%   89.40%           
========================================
  Files            5        5           
  Lines          151      151           
========================================
  Hits           135      135           
  Misses          16       16           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@b8raoult b8raoult merged commit 162d4da into develop Nov 1, 2024
130 checks passed
@b8raoult b8raoult deleted the ci/pytest-hpc-marker branch November 1, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants